﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CameraWin
{
    public interface ICamera
    {
        int Index { get; set; }
        int UserID { get; set; }
        bool Recording { get;}
        bool Speaking { get;}
        int RealHandle { get; set; }
        CameraSet Set { get; set; }
        IntPtr PanelPlay { get; set; }
        List<int> Points { get; set; }
        int PointZero { get; set; }
        uint PTZSpeed {  get; set; }
        bool Main { get; set; }
        bool AudioState { get; set; }
        void Login();
        void Logout();
        void RealPlay();
        void StopPlay();
        void RefreshWindow();
        void StartRecord(string folder);
        void StopRecord();
        void PTZ(PTZType type);
        void Preset(uint point);
        bool PresetAuto();
        void PresetReset();
        void StartAudio();
        void StopAudio();
        void StartSpeak();
        void StopSpeak();

        event EventHandler<LogEventArgs> WriteLog;
    }
}
